Evaluation of Regular Nonlinear Recursions by Deductive Database Techniques

نویسندگان

  • Jiawei Han
  • Laks V. S. Lakshmanan
چکیده

Nonlinear recursion is one of the most challenging classes of logic programs for eecient evaluation in logic programming systems. We identify one popular class of nonlinear recur-sion, regular nonlinear recursion, and investigate its eecient implementation by a deductive database approach. The approach performs a detailed query binding analysis based on query information, constraint information and the structure of a recursion, selects an appropriate predicate evaluation order and generates an eecient query evaluation plan. Interesting query evaluation techniques, such as chain-following, chain-split, and constraint pushing, are developed for the eecient evaluation of diierent kinds of queries. Furthermore, the technique can be extended to the evaluation of regular nonlinear recursions in HiLog and F-logic programs. The study not only presents a method for the evaluation of regular nonlinear recursions in a declarative way but also demonstrates the power of the deductive database approach in the analysis and evaluation of sophisticated logic programs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Chain-Split Evaluation in Deductive Databases

Many popularly studied recursions in deductive databases can be compiled into one or a set of highly regular chain generating paths, each of which consists of one or a set of connected predicates. Previous studies on chain-based query evaluation in deductive databases take a chain generating path as an inseparable unit in the evaluation. However, some recursions, especially many functional recu...

متن کامل

Compilation and Evaluation of Nested Linear Recursions: a Deductive Database Approach

A deductive database system is an extension of a relational database system by supporting a rulebased, more expressive database language while preserving the set-oriented and declarative style of a relational database query language. This thesis studies the implementation and extension of the chain-based compilation and evaluation method, an interesting method for deductive query evaluation. Ou...

متن کامل

Constraint-Based Query Evaluation in Deductive Databases

Constraints play an important role in the efficient query evaluation in deductive databases. In this paper, constraint-based query evaluation in deductive databases is investigated, with the emphasis on linear recursions with function symbols. Constraints are classified into three classes: (i) rule constraints, (ii) integrity constraints, and (iii) query constraints. Techniques are developed fo...

متن کامل

EFFICIENT QUERY PROCESSING IN DEDUCTIVE DATABASES: THE LogicBase APPROACH

The thesis investigates the design and implementation of a deductive database system prototype, LogicBase, and several query processing and optimization techniques in deductive database systems. LogicBase adopts the compilation-based query processing method, where logic programs are compiled into highly regular forms. A query is evaluated on the compiled form by performing iterative relational ...

متن کامل

Normalization and Compilation of Deductive and Object-Oriented Databases Programs for Efficient Query Evaluation

A normalization process is proposed to serve not only as a preprocessing stage for compilation and evaluation but also as a tool for classifying recursions. Then the query-independent compilation and chain-based evaluation method can be extended naturally to process a class of DOOD programs and queries. The query-independent compilation captures the bindings that could be diicult to be captured...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Syst.

دوره 20  شماره 

صفحات  -

تاریخ انتشار 1995